package com.sigmatrix.h5.entity.v2;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.sigmatrix.h5.entity.base.SuperEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="串货检查记录")
@TableName("_code_flee_check_record")
public class CodeFleeCheckRecord extends SuperEntity<CodeFleeCheckRecord> {

    private static final long serialVersionUID = 1L;

    @TableId(value="id",type=IdType.AUTO)
    protected Integer id;
    
    private String qrCode;
    private Integer codeLevel;
    @ApiModelProperty(value="码级别名称",example="箱码，盒码，瓶码，...")
    private String codeLevelName;
    private String circulationId;
    @ApiModelProperty(value="流转类型",example="2出库")
    private Integer circulationType;
    @ApiModelProperty(value="检查时间")
    private Date checkTime;
    private Integer productId;
    private String productBatchCode;
    private Date productTime;
    
    /**
     * CodeInspectStatus
     */
    private Integer status;
    @ApiModelProperty(value="（企业/经销商/门店）类型",example="1企业,2经销商,3门店")
    private Integer senderType;
    private String senderCode;
    private String senderName;
    @ApiModelProperty(value="（企业/经销商/门店）类型",example="1企业（不用）,2经销商,3门店")
    private Integer receiverType;
    private String receiverCode;
    private String receiverName;

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public Integer getCodeLevel() {
        return codeLevel;
    }

    public void setCodeLevel(Integer codeLevel) {
        this.codeLevel = codeLevel;
    }

    public String getCirculationId() {
        return circulationId;
    }

    public void setCirculationId(String circulationId) {
        this.circulationId = circulationId;
    }

    public Integer getCirculationType() {
        return circulationType;
    }

    public void setCirculationType(Integer circulationType) {
        this.circulationType = circulationType;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductBatchCode() {
        return productBatchCode;
    }

    public void setProductBatchCode(String productBatchCode) {
        this.productBatchCode = productBatchCode;
    }

    public Date getProductTime() {
        return productTime;
    }

    public void setProductTime(Date productTime) {
        this.productTime = productTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSenderType() {
        return senderType;
    }

    public void setSenderType(Integer senderType) {
        this.senderType = senderType;
    }

    public String getSenderCode() {
        return senderCode;
    }

    public void setSenderCode(String senderCode) {
        this.senderCode = senderCode;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public Integer getReceiverType() {
        return receiverType;
    }

    public void setReceiverType(Integer receiverType) {
        this.receiverType = receiverType;
    }

    public String getReceiverCode() {
        return receiverCode;
    }

    public void setReceiverCode(String receiverCode) {
        this.receiverCode = receiverCode;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

	public String getCodeLevelName() {
		return codeLevelName;
	}

	public void setCodeLevelName(String codeLevelName) {
		this.codeLevelName = codeLevelName;
	}
	

	@Override
	public String toString() {
		return "CodeFleeCheckRecord [id=" + getId() + ", qrCode=" + qrCode + ", codeLevel=" + codeLevel + ", circulationId="
				+ circulationId + ", circulationType=" + circulationType + ", checkTime=" + checkTime + ", productId="
				+ productId + ", productBatchCode=" + productBatchCode + ", productTime=" + productTime + ", status="
				+ status + ", senderType=" + senderType + ", senderCode=" + senderCode + ", senderName=" + senderName
				+ ", receiverType=" + receiverType + ", receiverCode=" + receiverCode + ", receiverName=" + receiverName
				+ "]";
	}

  
}
